package com.ethink.order.service;

import com.ethink.order.api.info.TocSaleReturnImportLogResultInfo;
import com.ethink.order.api.request.TocSaleReturnImportLogResultAddRequest;
import com.ethink.order.api.request.TocSaleReturnImportLogResultSettleRequest;
import com.ethink.order.common.entity.TocSaleReturnImportLogResult;
import org.springframework.beans.BeanUtils;

import java.util.List;

/**
 * TOC销售退单结果 Service接口
 *
 * @author default
 * @date 2023-01-13
 */
public interface TocSaleReturnImportLogResultService {
    Boolean batchInsert(List<TocSaleReturnImportLogResultAddRequest> addRequestList);

    Boolean addTocSaleReturnImportLogResult(TocSaleReturnImportLogResultAddRequest request);

    List<TocSaleReturnImportLogResultInfo> queryListByLogId(Long id);

    void settleOrder(TocSaleReturnImportLogResultSettleRequest settleRequest);
}